package com.mytrip.service;

import java.util.List;

import com.mytrip.base.service.BaseManager;
import com.mytrip.model.BackOperator;
import com.mytrip.model.Module;

public interface ModuleManager extends BaseManager {

	public Module saveModule(Module module);
	
	public void removeModule(Module module);
	
	public List<Module> findModule();
	
	public Module getModuleById(Long id);
	
	public Module getModuleByModuleName(String moduleName);
	
	public void saveModuleSelective(Module module);
	
	public List<Module> findModuleByParentId(Long id,Long backOperatorId);
	
	public List<Module> findTopModuleByBackOperatorId(Long backOperatorId);
	
	public void fillSubModuleList(Module module, BackOperator backOperator);
	
	public Module getModuleByActionName(String actionName);

	public List<Module> findTopModule();

	public List<Module> findAllModule();

	public List<Module> findModuleByBackOperatorId(Long id,Long systemId);
}
